//
//  BKHeZhaoViewModel.h
//  baokaodaxue
//
//  Created by dangyangyang on 15/6/4.
//  Copyright (c) 2015年 宏图教育. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BKHeZhaoViewModel : NSObject


+ (void)cityOfProv:(NSString *)cid
           success:(void(^)(NSArray *array))success
           failure:(void(^)(NSString *message))failure;

+ (void)countryOfCity:(NSString *)cityid
           success:(void(^)(NSArray *array))success
           failure:(void(^)(NSString *message))failure;

+ (void)zhongxueWithXian:(NSString *)xian
                 success:(void(^)(NSArray *array))success
                 failure:(void(^)(NSString *message))failure;


+ (void)banjiWithParams:(NSDictionary *)params
                success:(void(^)(NSArray *array))success
                failure:(void(^)(NSString *message))failure;


// 创建班级
+ (void)chuangjianWithParams:(NSDictionary *)params
                     success:(void(^)(NSString *banjiid))success
                     failure:(void(^)(NSString *message))failure;

+ (void)tijaoWithParams:(NSDictionary *)params
                success:(void(^)())success
                failure:(void(^)(NSString *message))failure;

+ (void)shengqingWithParams:(NSDictionary *)params
                    success:(void(^)())success
                    failure:(void(^)(NSString *message))failure;

+ (void)hezhaoWithbanji:(NSString *)banji
                success:(void(^)(NSArray *array))success
                failure:(void(^)(NSString *message))failure;
@end
